package com.itheima.App;

import com.itheima.pojo.Clazz;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class clazz {
    public static void main(String[] args) {
        ApplicationContext app = new ClassPathXmlApplicationContext("application-clazz.xml");
        Clazz clazz =(Clazz) app.getBean("Clazz");
        System.out.println(clazz.toString());


    }
}
